﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GEAR_Structure
{
    [Serializable]
    public class Category_stratigraphy
    {
        private readonly int id;

        public int ID
        {
            get { return id; }
        }

        private List<Stratigraphy> liststratigraphy;

        public List<Stratigraphy> ListStratigraphy
        {
            get { return liststratigraphy; }
            set { liststratigraphy = value; }
        }

        private string description;

        public string Description
        {
            get { return description; }
            set { description = value; }
        }

        public Category_stratigraphy(int _ID, List<Stratigraphy> _stratigraphyList, string _description)
        {
            this.id = _ID;
            this.liststratigraphy = _stratigraphyList;
            this.description = _description;
        }

        public Category_stratigraphy()
        {
            this.id = 0;
            this.liststratigraphy = new List<Stratigraphy>();
            this.description = "";
        }
    }
}
